﻿<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Message.aspx.cs" Inherits="Matrix_network.Message" %>

<asp:Content ID="Content1" ContentPlaceHolderId="MainContent" runat="server" >
<script  type="text/javascript" language="javascript">

    function DisplayDefaultImage(img) {
        img.src = "/Images/no_avatar.png";
    }
   </script>


   
<div>
    <div style=" width: 100%; " 
        align="left">
    
        <div align="left">
            
            
            
            <table style="width: 100%; height: 171px;">
                <tr>
                    <td class="style4">
                      <div> <asp:Image runat="server" ID="img" Width="100" 
                                    onerror="DisplayDefaultImage(this)"/>
                                </div>      
                        </td>
                    <td class="style5">
                        <table style="width:98%;">
                            <tr>
                                <td>
                                  <div>  
                                      <asp:HyperLink ID="FromHyperLink" runat="server"></asp:HyperLink>
                                      
                               </div><div>
                                    <asp:Label ID="TimeLabel" runat="server" Text=""></asp:Label></div>
                                  </td>
                                
                            </tr>
                            
                        </table>
                    </td>
                    <td class="style5">
                       <div> 
                        <asp:TextBox ID="InboxMsg" runat="server" Height="139px" ReadOnly="True" 
                            TextMode="MultiLine" Width="381px" style="margin-left: 0px" 
                            ontextchanged="InboxMsg_TextChanged"></asp:TextBox>
                        </div>
                    </td>
                </tr>
               
            </table>
            
        </div>
        <div >
            
            <div>
                <asp:TextBox ID="ResponseMsg" runat="server" Height="146px" 
                    TextMode="MultiLine" Width="515px" style="margin-left: 80px"></asp:TextBox>
            </div>    
            
        </div>
    </div>
</div>
<div style="height: 23px">
                <asp:Button ID="SendButton" runat="server" Text="<%$ Resources: sendMessage %>"
                    style="margin-left: 80px" Width="238px" onclick="SendButton_Click" />
            </div>
   

</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="HeadContent">
    <style type="text/css">
        .style4
        {
            width: 52px;
            height: 158px;
        }
        .style5
        {
            height: 158px;
        }
    </style>
</asp:Content>

